PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.text Package / PDFTextEngine Class / wrapString Method / wrapString(String,PDFFont,PDFStringLayoutOptions) Method
String to wrap.
Font used to draw the text.
Options for text layout.
In This Topic
    wrapString(String,PDFFont,PDFStringLayoutOptions) Method
    In This Topic
    Wraps the string at the given width.
    Syntax
    public static PDFTextLineCollection wrapString( 
       java.lang.String s,
       PDFFont font,
       PDFStringLayoutOptions stringLayoutOptions
    )

    Parameters

    s
    String to wrap.
    font
    Font used to draw the text.
    stringLayoutOptions
    Options for text layout.

    Return Value

    A collection of text lines representing the wrapped text.
    See Also